package dao.inte;

import domain.shop.BasketItem;
import domain.shop.Order;

import java.util.List;

public interface OrderRepository extends AbstractEntityRepositoryInterface<Order> {


    /**
     * This method return from database list of all basket items from active order of specific user
     *
     * @param id - id of user
     * @return list of all basket items from active order of specific user with enter ID
     */
    List<BasketItem> findAllBasketItemsOfActiveOrderByID(long id);
}
